package com.yixun.qfbao.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yixun.qfbao.mapper.CheckRecordMapper;
import com.yixun.qfbao.model.CheckRecord;
import com.yixun.qfbao.service.CheckRecordService;

/**
 * @author zilong.liu
 * @date 2021-2-23
 *
 * desc:
 *     
 */
@Service("checkRecordService")
public class CheckRecordServiceImpl implements CheckRecordService{

	@Autowired
	CheckRecordMapper checkRecordMapper;
	
	/**
	 * 新增
	 */
	@Override
	public int add(CheckRecord checkRecord) {
		return checkRecordMapper.add(checkRecord);
	}

	/**
	 * 查询
	 */
	@Override
	public List<CheckRecord> selectByDto(CheckRecord entity) {
		return checkRecordMapper.selectByDto(entity);
	}

	
}
